package cn.iocoder.yudao.module.els.controller.admin.codeGenerator.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 编码生成器分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CodeGeneratorPageReqVO extends PageParam {

    @Schema(description = "生成器名称", example = "赵六")
    private String generatorName;

    @Schema(description = "编码类型", example = "1")
    private String codeType;

    @Schema(description = "编码长度")
    private Integer codeLength;

    @Schema(description = "流水号长度")
    private Integer serialLength;

    @Schema(description = "编码样例")
    private String codeSample;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}